<template>
  <span class="van-tag van-hairline--surround" :class="{ [`van-tag--${type}`]: type, 'van-tag--plain': plain, 'van-tag--mark': mark }">
    <slot></slot>
  </span>
</template>

<script>
import { create } from '../utils';

export default create({
  name: 'van-tag',
  props: {
    type: String,
    mark: Boolean,
    plain: Boolean
  }
});
</script>
